/*
 * @Author: 张小平
 * @Date:   2025-05-01 
 * @Email:  qqshuqian@163.com 
 * @Copyright © 2024 aseyun. All rights reserved.
 */

export const tableOption = {
    "border": true,
    "index": true,
    "indexLabel": "#",
    "stripe": true,
    "menuAlign": "center",
    "align": "center",
    "searchMenuSpan": 6,
    grid: window.isMobile,
    gridSpan: 24,
    searchEnter:true,
    "column": [
        {
            "type": "input",
            "label": "名称",
            "prop": "name",
            search: true,
            "span": 12
        },
        {
            "type": "input",
            "label": "键",
            "prop": "pkey",
            "span": 12
        },
        {
            "type": "input",
            "label": "值",
            "prop": "pvalue",
            "span": 12
        },
        {
            "type": "select",
            "label": "系统内置",
            "prop": "psystem",
            "span": 12,
            dicData: [{
                label: '是',
                value: "1"
            }, {
                label: '否',
                value: '0'
            }],
            value:"1"
        },
        {
            "type": "select",
            "label": "状态",
            "prop": "status",
            "span": 12,
            value:'1',
            dicData: [{
                label: '启用',
                value: "1"
            }, {
                label: '停用',
                value: '0'
            }]
        },
        {
            width: 150,
            type: 'datetime',
            label: '创建时间',
            prop: 'updateTime',
            display: false,
            format: 'YYYY-MM-DD HH:mm',
            valueFormat: 'YYYY-MM-DD HH:mm:ss',
            span: 12
        }
    ]
}
